import {defineStore} from 'pinia'

export const myStore = defineStore('app', {
    state: () => {
        return {
            userInfo: null,
            deviceId: "",//设备id
            deptId: "",//部门id
            userId: "",//用户id
        }
    },
    actions: {
        getUserInfo() {
            return this.userInfo
        },
    },
})
